package com.htgd.gardenexpo.dao;

import com.htgd.gardenexpo.entity.GeConVenue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.htgd.gardenexpo.entity.PageQuery;
import com.htgd.gardenexpo.page.VenueQuery;
import com.htgd.gardenexpo.vo.VenueNumsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 新闻表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-03-11
 */

@Mapper
public interface GeConVenueDao extends BaseMapper<GeConVenue> {

    List<GeConVenue> getAllNewsByValue(VenueQuery venueQuery);

    List<GeConVenue> getAllNewsByValueNoContent(VenueQuery venueQuery);

    GeConVenue queryById(Integer newId);

    List<VenueNumsVO> getVenueNums(@Param("date") String date);
}
